<div class='fui-page fui-page-current'>
    <div class="fui-header">
        <div class="fui-header-left" onclick="window.history.go(-1);">
            <a class="back" ng-click="goback()"></a>
        </div>
        <div class="title">签到排行榜</div>
        <div class="fui-header-right">
            <a href="javascript:;" ng-click="access_json('core/member.home/')" class="external">
                <i class="icon icon-home"></i>
            </a>
        </div>
    </div>
    <div class='fui-content navbar'>
        <div class="fui-tab fui-tab-primary">
            <a ng-class="{'active':pagedata.op='main'}" ng-click="access_json('main')">总签到排行</a>
			<a ng-class="{'active':pagedata.op='lianxu'}" ng-click="access_json('lianxu')">连续签到排行</a>
        </div>
        <div class="content-empty" ng-if="!pagedata.list" style=" margin: 0; padding: 0; position: relative;">
            <i class="icon icon-information"></i>
            <center style="color: #888">未找到任何记录~</center>
        </div>
        <div class="fui-list-group noborder nomargin container" ng-if="pagedata.list">
			<div class="fui-list" ng-repeat="item in pagedata.list">
				<div class="fui-list-media">
					<img ng-src="{{item.avatar}}" style="border-radius: 2.5rem;">
					<div class="badge">{{$index+1}}</div>
				</div>
				<div class="fui-list-inner">
					<div class="title">{{item.nickname}}</div>
					<div class="text" ng-if="pagedata.op=='main'">当前总签到{{item.num}}天</div>
					<div class="text" ng-if="pagedata.op=='lianxu'">当前连续签到{{item.num}}天</div>
				</div>
				<div class="fui-list-angle"></div>
			</div>
		</div>
    </div>
</div>